package day03_inherit.AnimalMedicalSystem;

public class Test {
    public static void main(String[] args) {
        Duck duck=new Duck();
        duck.setName("家禽");
        duck.setAge("1");
        duck.setIllness("感冒");
        duck.setSymptom("发烧，流鼻涕，不爱动");

        duck.showMsg();
        duck.showSymptom();
    }
}
